This document will cover all of the details in the APP that are not covered in the business plan.
A plethora of data were acquired and analyzed to create the BIGO Live model. Among those data sets are:
Current Weather Conditions: Rainfall Data (Data.gov API)
Forecasted Weather Conditions: 2 Hour Weather Forecast Data (Data.gov API)
Temperature Conditions: Air Temperature Data (Data.gov API)
Carpark Availability Conditions: Carpark Availability Data (Data.gov API)
Singapore Shape Data: Singapore Towns Zip File (DBA3702 Lecture 8)
Route Path: Geocoding, Spatial Routing (Google APIs)
Before initiating the App, please ensure all the packages are updated. The leaflet version that is used for this app is V.2.1.1.
To start the app, simply make sure the zip file is downloaded and unzipped. Then click on the file Run App.R to launch the code. Thereafter select the Run App option in RStudio to launch the app
Feature 1: Carousel
The carousel introduces 3 different situation for the user to choose from. At the base level as seen in the picture above, the user has the intention to visit a certain region in Singapore, but wishes to know the areas in Singapore that are raining. The “Get started now” button will lead them to our 2nd Tab which is the Weather Details Tab.
The next level represents those that already have a few choices on their locations to go, and wish to check for the potential rain situation that would impact their travelling time via car. The “Get started now” button will lead them to our 3rd Tab which is the Route Planning Tab.
The last level of the carousel represents those who already have a location that intending to go and wish to check for the nearby parking places from their destination. The “Get started now” button will lead them to our 4th Tab which is the CarPark Availability Tab.
Feature 2: Category Clicker
This feature simply re-represent the idea of feature 1 in a different format.
Feature 3: Drop Down Text Information
The first drop down text box talks about the motivation behind creating this app as well as a short overview of each tab’s purpose.The second drop down text covers the data sources that are used in the project.
Feature 4: About Us Link
The link “Read more about us…” would bring the user to the last tab “About Us”.
When the tab is clicked, a request through the data.gov API will be sent and the data of the current rain, temperature and forecast weather situation will be collected. The current rain, temperature data will be displayed on the map via a polygon map with markers that show each region. By clicking on the markers, the data will be reflected on the sidebar. Notably, the legend of the polygon map is also shown in the bottom right of the map.
The drop downs widget and date time widget on the bottom left are set to “Bishan” as placeholder and the live time and date by default. To input a new time, simply interact with the widget.
Here, the date and time was set to 11th April 2022 on 11:30:59 and the selected region is Ang Mo Kio.
By default, there will not be any outputs until the user inputs the start and end location of their desired route. Upon clicking the button “Submit”, the code will run and the output will be as seen below:
Here, the start location is NUS and the end Location is Changi Airport. The map will use the forecast rain data to plot the areas that will be affected by rain that the route passes through via polygons. The start location is highlighted with a small green circle marker and end location is highlighted with a small red circle marker.
The sidebar will then reflect the expected trip duration, distance of trip, delay, delayed trip duration as well as the delay in percentage. The delay is calculated using a weighted combination of the length of each route in each area and the intensity of rain in each area.
By default, there will no be any outputs until the user inputs the end location of their desired route. Upon clicking the button “Submit”, the code will run and the out will be as seen below:
Here the 3 nearest car park from the input destination are plotted in order and their information are shown on the sidebar. The information would contain the distance of the car park from the destination, the name of the car park as well as the number of lots currently available
The Abous Us tab shows the members and their positions within the company.